.class Lcom/example/m6wmr/PayActivity$4;
.super Ljava/lang/Thread;
.source "PayActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/PayActivity;->PostMsg()Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/PayActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/PayActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/PayActivity$4;->this$0:Lcom/example/m6wmr/PayActivity;

    .line 238
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    .prologue
    .line 240
    invoke-super {p0}, Ljava/lang/Thread;->run()V

    .line 244
    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    .line 246
    .local v1, "msg":Landroid/os/Message;
    iget-object v5, p0, Lcom/example/m6wmr/PayActivity$4;->this$0:Lcom/example/m6wmr/PayActivity;

    const-string v6, "userInfo"

    .line 247
    const/4 v7, 0x0

    .line 246
    invoke-virtual {v5, v6, v7}, Lcom/example/m6wmr/PayActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    .line 248
    .local v2, "preferences":Landroid/content/SharedPreferences;
    const-string v5, "uid"

    const-string v6, ""

    invoke-interface {v2, v5, v6}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 249
    .local v0, "account":Ljava/lang/String;
    if-eqz v0, :cond_0

    const-string v5, ""

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_1

    .line 261
    :cond_0
    :goto_0
    return-void

    .line 254
    :cond_1
    new-instance v5, Ljava/lang/StringBuilder;

    iget-object v6, p0, Lcom/example/m6wmr/PayActivity$4;->this$0:Lcom/example/m6wmr/PayActivity;

    iget-object v6, v6, Lcom/example/m6wmr/PayActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v6}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, "/index.php?ctrl=app&action=postmsg&orderid="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/PayActivity$4;->this$0:Lcom/example/m6wmr/PayActivity;

    # getter for: Lcom/example/m6wmr/PayActivity;->orderid:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/PayActivity;->access$0(Lcom/example/m6wmr/PayActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&datatype=json"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 255
    .local v4, "url":Ljava/lang/String;
    const-string v5, "Marinactivity"

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "PostMsg \u8fd4\u56de\u6570\u636e"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 256
    iget-object v5, p0, Lcom/example/m6wmr/PayActivity$4;->this$0:Lcom/example/m6wmr/PayActivity;

    iget-object v5, v5, Lcom/example/m6wmr/PayActivity;->m:Lmyapp/MyApp;

    invoke-static {v4, v5}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v3

    .line 258
    .local v3, "str":Ljava/lang/String;
    const-string v5, "Marinactivity"

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "setbaidutosiet \u8fd4\u56de\u6570\u636e"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v6, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 260
    invoke-static {}, Lmyapp/Util;->dismisDialog()V

    goto :goto_0
.end method

.method public declared-synchronized start()V
    .locals 1

    .prologue
    .line 265
    monitor-enter p0

    :try_start_0
    invoke-super {p0}, Ljava/lang/Thread;->start()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 266
    monitor-exit p0

    return-void

    .line 265
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method
